"""
public void signBalance(String Key, String Iv) {
    	String salt = primaryAccNo + "-" + String.valueOf(subType);
    	String sign = SecUtil.sign(MathUtil.scaleUp100x(balance), salt, Key, Iv);
        //return sign;
    	this.balanceSign = sign;
	}
    
public Boolean verifyBalance(String Key, String Iv) {
    //String salt = String.valueOf(subAccNo);
    String salt = primaryAccNo + "-" + String.valueOf(subType);
    if(SecUtil.verify(balanceSign, MathUtil.scaleUp100x(balance), salt, Key, Iv)) {
        return true;
    }else {
        throw new ServiceException("验证账户金额签名异常"); 
    }
}

"""

def sign_balance(key, iv, balance):
    pass

def verify_balance(key, iv, balance, signature):
    pass

def convert_sub_accs_to_dict():
    pass

